package com.kitty.game.fight.message;


import com.kitty.game.fight.message.vo.MultiHit;
import com.kitty.mina.Modules;
import com.kitty.mina.annotation.ListField;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;

import java.util.List;

/**
 * 多目标
 */
@MessageMeta(module = Modules.MSG_C_ACCEPT_MULTI_HIT)
public class RespCombatAcceptMultiHit extends Message {
    private int attacker_id;
    private int mainVictimId;//主目标
    private int type;
    @ListField(0)
    private List<MultiHit> targets;

    public int getAttacker_id() {
        return attacker_id;
    }

    public void setAttacker_id(int attacker_id) {
        this.attacker_id = attacker_id;
    }

    public int getMainVictimId() {
        return mainVictimId;
    }

    public void setMainVictimId(int mainVictimId) {
        this.mainVictimId = mainVictimId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<MultiHit> getTargets() {
        return targets;
    }

    public void setTargets(List<MultiHit> targets) {
        this.targets = targets;
    }
}
